'use strict';

const { Controller } = require('egg');

class HomeController extends Controller {

  async index() {
    const { ctx } = this;

    // 返回画完图的base 64 编码
    const data = { url: '111' };
    const userInfo = await ctx.service.user.find(userId);
    await ctx.render('home', data);
  }

}

module.exports = HomeController;
